<?php global $global_images_route,$sort_idfield;?>
<?=inc_web ( $GLOBALS ['nhead'] );?>

<div class="mainFloor clearfix"><a href="#" class="ad-full"><img
	src="<?=$global_images_route?>img/ad-1.jpg"></a>
  <div class="mf_main mf_main-right articleDetail">
    <div class="bread"><a href="<?=ii_get_actual_route('')?>">首页</a>><a href="<?=ii_get_actual_route($GLOBALS['ngenre'])?>">
      <?=ii_itake('module.channel_title','lng')?>
      </a>><a>正文</a></div>
    <h1 class="tit">
      <?=$result [ii_cfname ( 'topic' )]?>
    </h1>
    <p class="info"><span>
      <?=$result [ii_cfname ( 'time' )]?>
      </span> 阅读数：<span id='count'>
      <?=$result [ii_cfname ( 'count' )]?>
      </span></p>
    <div class="detail">
      <?=mm_encode_content(mm_cutepage_content($result [ii_cfname ( 'content' )], 
"cp_note='.$result [ii_cfname ( 'cp_note' )].';cp_mode='.$result [ii_cfname ( 'cp_mode' )].';cp_type='.$result [ii_cfname ( 'cp_type' )].';cp_num='.$result [ii_cfname ( 'cp_num' )].';cp_page=$tpage"),
 $result [ii_cfname ( 'cttype' )])?>
    </div>
    <h2 class="subTit">其他链接</h2>
    <p>上一条： <a href="#">extra links extra links extra links</a></p>
    <p>下一条： <a href="#">extra links extra links extra links</a></p>
  </div>
  <div class="mf_sub">
    <div class="subNav subNav-TopBg">
      <h2>
        <div class="tit">最新消息</div>
      </h2>
      <ul class="list">
        <?php foreach ($sorts as $row):?>
        <li><a href="<?=ii_iurl('list', $row  [$sort_idfield])?>" <?php if($row[$sort_idfield]==$result[ii_cfname ( 'class' )]):?>class="on"<?php endif;?>>
          <?=$row['sort_sort']?>
          <i></i></a></li>
        <?php endforeach;?>
      </ul>
    </div>
    
    <?=inc_web ( 'sub_nav' );?>
    
  </div>
</div>
<script type="text/javascript">
function innerCOUNT(strers)
{
  if (strers != "$error$") get_id("count").innerHTML = strers;
};
igets("<?=ii_get_actual_route('expansion')?>/count/?genre=<?=urlencode($GLOBALS['ngenre'])?>&id=<?=$result[$nidfield]?>", innerCOUNT);
</script>
<?=mm_web_foot ( $GLOBALS ['nfoot'] )?>
